package com.example.demo.entity;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

import com.example.demo.custom.BaseEntity;
/**
 * 车辆订单
 * @author 吕佳辉
 *
 */
@Entity
public class CarsOrder extends BaseEntity<Integer> {
	
	private String name;//订交人员
	private String customerName;//客户名称
	private SysUser userId;//员工id
	private String customerSex;//客户性别
	private String area;//区域

	private String phone;//客户联系电话
	private String weiXin;//客户微信号
	private String customerZhiwei;//客户职业
	private String idCard;//身份证号
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCustomerName() {
		return customerName;
	}
	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}
	
	
	@ManyToOne
	public SysUser getUserId() {
		return userId;
	}
	public void setUserId(SysUser userId) {
		this.userId = userId;
	}
	
	
	public String getCustomerSex() {
		return customerSex;
	}
	public void setCustomerSex(String customerSex) {
		this.customerSex = customerSex;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getWeiXin() {
		return weiXin;
	}
	public void setWeiXin(String weiXin) {
		this.weiXin = weiXin;
	}
	public String getCustomerZhiwei() {
		return customerZhiwei;
	}
	public void setCustomerZhiwei(String customerZhiwei) {
		this.customerZhiwei = customerZhiwei;
	}
	public String getIdCard() {
		return idCard;
	}
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	
	
	
}
